import Vue from 'vue'
import Router from 'vue-router'
import iview from '@/view/iview'
import bolema from '@/view/bolema'
import echarts from '@/view/echarts'
import echarts2 from '@/view/echarts2'
import test from '@/view/test'
import iviewcard from '@/view/iviewcard'
import exam from '@/view/home/exam'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/iview',
      name: 'iview',
      component: iview
    },
    {
      path: '/',
      name: 'bolema',
      component: bolema
    },
    {
      path: '/echarts',
      name: 'echarts',
      component: echarts
    },
    {
      path: '/echarts2',
      name: 'echarts2',
      component: echarts2
    },
    {
      path: '/test',
      name: 'test',
      component: test
    },
		{
		  path: '/shouye',
		  name: 'shouye',
		  component: shouye
		},
		{
		  path: '/iviewcard',
		  name: 'iviewcard',
		  component: iviewcard
		},
		{
		  path: '/classmanage',
		  name: 'classmanage',
		  component: classmanage
		},
		{
		  path: '/addup',
		  name: 'addup',
		  component: addup
		},
		{
		  path: '/exam',
		  name: 'exam',
		  component: exam
		}
  ]
})
